package git.soulbgm.pojo;

import javax.persistence.Id;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Builder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import git.soulbgm.common.annotation.IdBuild;
import git.soulbgm.common.enumerate.IdType;

/**
 * 权限表
 *
 * @author SoulBGM
 * @version V1.0
 * @date 2019-11-25 11:23:18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(value = "权限表")
public class Authority {

    /**
     * id
     */
    @Id
    @IdBuild(IdType.JDBC)
    @ApiModelProperty("id")
    private Integer id;

    /**
     * authority_name
     */
    @ApiModelProperty("authority_name")
    private String authorityName;

    /**
     * authority_describe
     */
    @ApiModelProperty("authority_describe")
    private String authorityDescribe;


}